//
//  CCompanyMgr.h
//  wanzhaoIM
//
//  Created by wanzhao on 15/9/10.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CCompany;
@interface CCompanyMgr : NSObject


//插入公司
-(BOOL)insetCompany:(CCompany *)company;
//批量插入公司
-(BOOL)batchInsertCompany:(NSArray *)compayList;
//
//更新公司
-(BOOL)updateCompany:(CCompany *)company;
//根据公司code加载公司
-(CCompany *)loadCompanyWithcompCode:(NSString *)compCode;

//删除所有联系人
-(BOOL)delAllCompany;
- (BOOL)loadAllCompany;
//- (NSInteger)loadAllcontactCount;


@end
